using System;

namespace OFX.Aggregator.Infrastructure
{
	public interface IAsyncStatementRetrieval : IStatementRetrieval
	{
		IAsyncResult BeginGetStatement(IIoCContainerAbstraction container, IStatementProcessingWorkflow workflow,
		                               AsyncCallback callback);

		Statement EndGetStatement(IAsyncResult result);
	}
}